package com.tt.fashionWebSite.dto;

import java.io.Serializable;

/**
 * Created by isoft-work 5 on 1/17/2015.
 */
public class RevenueMonthReportDto implements Serializable {
   private String date;
   private Double tien;

   public RevenueMonthReportDto(Object[] info) {
      if(info[0] != null) {
         this.date = info[0].toString();
      }

      if(info[1] != null) {
         this.tien = (Double)info[1];
      }
   }

   public RevenueMonthReportDto(String date, Double tien) {
      this.date = date;
      this.tien = tien;
   }

   public String getDate() {
      return date;
   }

   public void setDate(String date) {
      this.date = date;
   }

   public Double getTien() {
      return tien;
   }

   public void setTien(Double tien) {
      this.tien = tien;
   }
}
